﻿using System.Threading;

namespace NthDownload.Contracts
{
    public interface ISerializationService<T, T1> 
        where T : class
        where T1 : class
    {
        T1 Serialize(T obj);
        T Deserialize(T1 data);
        void Deserialize(T1 data, T obj);
    }
}
